package com.dc.designPattern._0_设计原则._2_ocp.step2;

/**
 * Description: 长方形
 * @author: gdc
 * @date: 2021/7/23
 * @version 1.0
 */
public class Rectangle extends Shape {

    public Rectangle() {
        super.type = 1;
    }

    @Override
    public void draw() {
        System.out.println(" 绘制矩形 ");
    }
}